summaryrefslogtreecommitdiffstats
path: root/src/ChunkGeneratorThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChunkGeneratorThread.cpp')
-rw-r--r--src/ChunkGeneratorThread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkGeneratorThread.cpp b/src/ChunkGeneratorThread.cpp
index c87c1db21..cb68c6831 100644
--- a/src/ChunkGeneratorThread.cpp
+++ b/src/ChunkGeneratorThread.cpp
@@ -121,10 +121,10 @@ void cChunkGeneratorThread::WaitForQueueEmpty(void)
-int cChunkGeneratorThread::GetQueueLength(void) const
+size_t cChunkGeneratorThread::GetQueueLength(void) const
{
cCSLock Lock(m_CS);
- return static_cast<int>(m_Queue.size());
+ return m_Queue.size();
}